// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'// 引入滚动插件

// 一像素边框
import 'styles/reset.css'
// 多倍屏幕适应
import 'styles/border.css'
import 'styles/iconfont.css'
import 'swiper/dist/css/swiper.css'// 引入滚动插件样式

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)// 使用滚动插件
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router: router,
  components: { App }, // 定义局部组件的使用
  template: '<App/>'
})

/* 路由就是根据网址不同返回给用户的内容不同 */
